//
//  STMGoodsListModel.h
//  StoreManagement
//
//  Created by centling on 16/5/20.
//  Copyright © 2016年 alfred. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@class STMGoodsListResult;
@class STMGoodsListResultExtendData;
@protocol STMGoodsListDetail <NSObject>
@end

@interface STMGoodsListModel : JSONModel

@property (strong, nonatomic) NSString* code;
@property (strong, nonatomic) NSString* message;
@property (strong, nonatomic) STMGoodsListResult<Optional>* result;

@end

@interface STMGoodsListResult : JSONModel

@property (strong, nonatomic) STMGoodsListResultExtendData* extend_data;
@property (strong, nonatomic) NSArray<STMGoodsListDetail>* goods_list;

@end

@interface STMGoodsListResultExtendData : JSONModel

@property (strong, nonatomic) NSString* hasmore;
@property (strong, nonatomic) NSString* page_total;

@end

@interface STMGoodsListDetail : JSONModel

@property (strong, nonatomic) NSString* goods_commonid;
@property (strong, nonatomic) NSString* goods_name;
@property (strong, nonatomic) NSString* goods_price;
@property (strong, nonatomic) NSString* goods_addtime;
@property (strong, nonatomic) NSString* goods_image;
@property (strong, nonatomic) NSString* goods_state;
@property (strong, nonatomic) NSString* goods_lock;
@property (strong, nonatomic) NSString* goods_storage_sum;
@property (strong, nonatomic) NSString* goods_salenum;

@end